import request from '@/utils/request'
export function list(params) {
    return request({
        url: '/admin/productCategory/list',
        method: 'get',
        params: params
    })
}
export function save(data) {
    return request({
        url: '/admin/productCategory/save',
        method: 'post',
        data: data
    })
}

export function del(ids) {
    return request({
        url: '/admin/productCategory/del/' + ids,
        method: 'post'
    })
}

export function find(id) {
    return request({
        url: '/admin/productCategory/find/' + id,
        method: 'get'
    })
}

export function update(data) {
    return request({
        url: '/admin/productCategory/update',
        method: 'post',
        data: data
    })
}

